<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>} Statement</title>
    <link rel="stylesheet" type="text/css" href="csound.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="home" href="index.html" title="The Canonical Csound Reference Manual" />
    <link rel="up" href="ScoregensTop.html" title="Score Statements and GEN Routines" />
    <link rel="prev" href="leftbrace.html" title="{ Statement" />
    <link rel="next" href="ScoreGenRef.html" title="GEN Routines" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">} Statement</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="leftbrace.html">Prev</a> </td>
          <th width="60%" align="center">Score Statements and GEN Routines</th>
          <td width="20%" align="right"> <a accesskey="n" href="ScoreGenRef.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry">
      <a id="rightbrace"></a>
      <div class="titlepage"></div>
      <a id="IndexRightBraceStatement" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">} Statement</span>
        </h2>
        <p>} — 
      Ends a non-sectional, nestable loop.
    </p>
      </div>
      <div class="refsect1">
        <a id="idp213145152"></a>
        <h2>Description</h2>
        <p>
      The <span class="emphasis"><em>{</em></span> and <span class="emphasis"><em>} statements</em></span> can be used to repeat a group of score statements.  These loops do not constitute independent score sections and thus may repeat events within the same section.  Multiple loops may overlap in time or be nested within each other.
    </p>
      </div>
      <div class="refsect1">
        <a id="idp213190128"></a>
        <h2>Syntax</h2>
        <pre class="synopsis">
          <span class="command">
            <strong>}</strong>
          </span>
        </pre>
      </div>
      <div class="refsect1">
        <a id="idp213191984"></a>
        <h2>Initialization</h2>
        <p>
      All pfields are ignored.
    </p>
      </div>
      <div class="refsect1">
        <a id="idp213193168"></a>
        <h2>Performance</h2>
        <p>
      The <span class="emphasis"><em>} statement</em></span> is used in conjunction with the <a class="link" href="leftbrace.html" title="{ Statement"><em class="citetitle">{ statement</em></a> to define repeating groups of other score events.  A score loop begins with the <span class="emphasis"><em>{ statement</em></span> which defines the number of repetitions and a unique macro name that will contain the current loop counter.  The body of a loop can contain any number of other events (including sectional breaks) and is terminated by a <span class="emphasis"><em>} statement</em></span> on its own line.  The <span class="emphasis"><em>} statement</em></span> takes no parameters.
    </p>
        <p>
      See the documentation for the <a class="link" href="leftbrace.html" title="{ Statement"><em class="citetitle">{ statement</em></a> for further details.
    </p>
      </div>
      <div class="refsect1">
        <a id="idp213198848"></a>
        <h2>Examples</h2>
        <p>
      See the examples in the entry for the <a class="link" href="leftbrace.html" title="{ Statement"><em class="citetitle">{ statement</em></a>.
    </p>
      </div>
      <div class="refsect1">
        <a id="idp213201056"></a>
        <h2>Credits</h2>
        <p>
      </p>
        <table border="0" summary="Simple list" class="simplelist">
          <tr>
            <td>Author: Gabriel Maldonado</td>
          </tr>
        </table>
        <p>
    </p>
        <p>New in Csound version 3.52 (?).  (Fixed in version 5.08).</p>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="leftbrace.html">Prev</a> </td>
          <td width="20%" align="center">
            <a accesskey="u" href="ScoregensTop.html">Up</a>
          </td>
          <td width="40%" align="right"> <a accesskey="n" href="ScoreGenRef.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">{ Statement </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> GEN Routines</td>
        </tr>
      </table>
    </div>
  </body>
</html>
